package com.hroa.web.vo;


/**
 * 所有json请求返回对象，需要继承
 * Created by Hays on 14/11/13.
 */
public class AbstractJsonEntity {
    // 状态代码
    protected String code = StatusInfo.REQUEST_SUCCESS;
    // 消息内容
    protected String message = StatusInfo.REQUEST_SUCCESS_MSG;
    
    public AbstractJsonEntity() {
		super();
	}

	public AbstractJsonEntity(String code, String message) {
		super();
		this.code = code;
		this.message = message;
	}

	public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
